import { makeAutoObservable } from 'mobx'
class Store {
  // 初始化状态
  bannerList = []
  proList = []

  constructor () {
    makeAutoObservable(this)
  }

  changeBannerList (payload) {
    this.bannerList = payload
  }
  changeProList (payload) {
    this.proList = payload
  }
}

export default new Store()